This template provides a minimal setup to get Isograph working in Vite with HMR. It queries the GraphQL Pokemon API to display the original 151 Pokemon using Isograph components.
Install dependencies:
pnpm install
From the root of the project, start the Isograph compiler:
pnpm run watch-vite-demo
From the demos/vite-demo
, start the Vite server:
pnpm run dev
The Vite configuration is slightly different from the NextJS configuration found on the Quickstart guide.
Review the following files to see the proper configuration you'll need to match to get a Vite project working with Isograph after running the Vite Getting Started steps:
vite.config.ts
.babelrc.json
tsconfig.app.json
tsconfig.node.json